package com.oilsection.demo.dao;

import com.oilsection.demo.po.JzInfoTable;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.Optional;

public interface GetJzListSourceDao extends JpaRepository<JzInfoTable,String>{
    Optional<JzInfoTable> findById(String id);
    public List<JzInfoTable> findByKqId(String kqId);
    public List<JzInfoTable> findAll();
    public List<JzInfoTable> findByUpdateFlagNotNull();
    public List<JzInfoTable> findByJzName(String jzName);
    public List<JzInfoTable> findByJzNameAndKqId(String jzName,String kqId);
}
